@import '~stylePath/_var.scss';
@import '~stylePath/_utils.scss';

// 安卓布局会再添加一个class
.home-page{
    position: relative;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    // @include font(0);
    overflow-x: hidden;
    .home{
        position: relative;
        width: 100%;
        -webkit-overflow-scrolling: touch;   
        overflow-x: hidden; 

        .header{
            width: 100%;
            height: 6.3rem;
        };

        .rules{
            position: relative;
            width: 100%;
            height: 5.3rem;
            background-image: url('~imgPath/rules-chunk.png');
            background-repeat: no-repeat;
            background-size: 100% 100%;

            .click-drive{
                position: absolute;
                bottom: 5%;
                left: 50%;
                transform: translateX(-50%);
                width: 40%;
                height: 2rem;
            };
        };
        
        .my-data-wrap{
            background-image: url('~imgPath/my-data-chunk.png');
            background-repeat: no-repeat;
            background-size: 100% 100%;
            
            .count-down{
                width: 100%;
                height: 2rem;

                .text{
                    box-sizing: border-box;
                    width: 5rem;
                    height: 2rem;
                    padding: 1.18rem 0 0 0;
                    margin: 0 0 0 1.35rem;
                    vertical-align: bottom;
                    
                    .num{
                        display: inline-block;
                        width: 0.6rem;
                        height: 0.6rem;
                        @include font(0.5rem, 0.5rem, #ffffff);
                        text-align: right;
                    };
                    .unit{
                        height: 0.4rem;
                        margin: 0 0.16rem 0 0;
                        @include font(0.4rem, 0.4rem, #ffffff);
                    };
                };
            };
            
            .my-data{
                position: relative;
                box-sizing: border-box;
                width: 100%;
                height: 5.2rem;
                padding: 0.17rem 0 0 0;    
                
                .rank{
                    position: absolute;
                    top: 0.3rem;
                    right: 0.32rem;
                    width: 2.38rem;
                    height: 0.59rem;
                    background-image: url('~imgPath/rank.png');
                    background-size: 100% 100%;
                    @include font(0.28rem, 0.59rem, #d32900);
                    text-indent: 0.75rem;
                    white-space: nowrap;
                };
                .head-img{
                    position: relative;
                    top: 0;
                    right: 0.02rem;
                    display: block;
                    width: 1.75rem;
                    height: 1.75rem;
                    margin: 0 auto;
                    background-image: url('~imgPath/icon-default.png');
                    border-radius: 50%;
                };
                .nickname{
                    box-sizing: border-box;
                    width: 2.8rem;
                    height: 0.68rem;
                    padding: 0.16rem 0 0 0;
                    margin: 0 auto;
                    @include font(0.3rem, 0.3rem, #df3e00);
                    @include text-overflow();
                    text-align: center;
                };
                .equipment-data{
                    display: flex;
                    justify-content: center;
                    width: 100%;
                    height: 0.94rem;
                    overflow: hidden;

                    .button{
                        display: block;
                        width: 1.92rem;
                        height: 0.64rem;
                    };

                    .no-data{
                        display: block;
                        width: 1.94rem;
                        height: 0.47rem;
                        margin: 0.04rem 0 0;
                        background-color: #ffc065;
                        @include font(0.26rem, 0.47rem, #d36300);
                        text-align: center;
                    };

                    .item{
                        width: 0.67rem;
                        height: 0.49rem;
                        margin: 0.01rem 0.07rem 0;
                        background-image: url('~imgPath/data-back.png');
                        background-repeat: no-repeat;
                        background-size: 100% 100%;
                        @include font(0.3rem, 0.49rem, #d32900);
                        text-align: center;
                    };
                };
                .text{
                    width: 2.6rem;
                    height: 0.5rem;
                    margin: 0 auto;
                    @include font(0.28rem, 0.28rem, #df3e00);
                    text-align: center;
                };
                .doc{
                    display: flex;
                    width: 5.8rem;
                    height: 0.26rem;
                    margin: 0 auto;
                    @include font(0.26rem, 0.26rem, #df3e00);

                    .item{
                        width: 2.8rem;
                        height: 0.32rem;
                        @include text-overflow();
                        letter-spacing: -0.01rem;
                        text-align: center;
                    };
                    .margin-r{
                        margin: 0 0.2rem 0 0;
                    };
                };
            };
        };

        .star-list{
            width: 100%;
            margin: 0.1rem 0 0 0;
            background-image: url('~imgPath/back_img_04.jpg');
            background-repeat: repeat;
            background-size: 100% auto;

            .list-head{
                width: 100%;
                height: 2.01rem;
                background-image: url('~imgPath/home_list_back_02.png');
                background-repeat: no-repeat;
                background-size: 100% auto;
            };
            .list-repeat{
                width: 100%;
                padding: 0 0 0 0;
                background-image: url('~imgPath/home_list_back_03.png');
                background-repeat: repeat;
                background-size: 100% auto;

                .list-search{
                    font-size: 0;

                    .search{
                        width: 2.7rem;
                        height: 0.5rem;
                        padding: 0 0.14rem;
                        margin: 0rem 0.32rem 0.22rem 1.31rem;
                        border: 0.01rem solid #cecece;
                        border-radius: 0.08rem;
                        @include font(0.26rem, 0.5rem);
                        vertical-align: top;
                    };
                    .search::placeholder{
                        color: #c5c5c5;
                    };
                    .img{
                        width: 1.52rem;
                        height: 0.5rem;
                        vertical-align: top;
                    };
                };
                .item{
                    display: flex;
                    flex-direction: row;
                    width: 6.18rem;
                    height: 1.47rem;
                    margin: 0 auto 0.06rem;
                    background-image: url('~imgPath/list-item.png');
                    background-repeat: repeat;
                    background-size: 100% auto;    

                    .left{
                        position: relative;
                        display: flex;
                        flex-direction: row;
                        width: 2.7rem;
                        height: 100%;

                        .key{
                            width: 0.42rem;
                            height: 0.42rem;
                            margin: 0.48rem 0 0 0.32rem;
                            background-image: url('~imgPath/list-icon.png');
                            background-size: 100% 100%;
                            @include font(0.16rem, 0.42rem, #ffffff);
                            text-align: center;
                        };
                        .head-img{
                            width: 0.8rem;
                            height: 0.8rem;
                            margin: 0.17rem 0 0 0.34rem;
                            border: 0.03rem solid #ffea9c;
                            border-radius: 50%;
                        };
                        .name{
                            position: absolute;
                            top: 1.06rem;
                            left: 0.5rem;
                            width: 2.08rem;
                            height: 0.32rem;
                            @include font(0.26rem, 0.26rem, #ff5f2c);
                            @include text-overflow();
                            text-align: center;
                        };
                        .mark{
                            position: absolute;
                            left: 1.68rem;
                            top: 0.2rem;
                            display: none;
                            width: 0.85rem;
                            height: 0.34rem;
                            background-image: url('~imgPath/liveing.png');
                            background-size: 100% 100%;
                        };
                        .mark.active{
                            display: block;
                        };
                    };
                    .left.one{
                        .key{
                            background-image: url('~imgPath/first.png');
                        };
                        .head-img{
                            border-color: #f25967;
                        };
                    };
                    .left.two{
                        .key{
                            background-image: url('~imgPath/second.png');
                        };
                        .head-img{
                            border-color: #7f79ff;
                        };
                    };
                    .left.three{
                        .key{
                            background-image: url('~imgPath/three.png');
                        };
                        .head-img{
                            border-color: #ffa200;
                        };
                    };
                    .middle{
                        width: 2.13rem;
                        height: 100%;
                        padding: 0 0 0 0.4rem;

                        .combat{
                            width: 100%;
                            height: 0.2rem;
                            margin: 0.44rem 0 0 0;
                            @include font(0.2rem, 0.2rem, #ff6439);
                        };
                        .combat.no-eq{
                            margin: 0.64rem 0 0 0;
                        };
                        .equipment{
                            display: flex;
                            flex-direction: row;
                            width: 100%;
                            height: 0.32rem;
                            margin: 0.2rem 0 0 0;
                            @include font(0.2rem, 0.32rem, #ff6439);
                            text-align: center;

                            .equipment-item{
                                width: 0.45rem;
                                height: 0.32rem;
                                margin: 0 0.19rem 0 0;
                                background-image: url('~imgPath/data-back1.png');
                                background-size: 100% 100%;
                            };
                        };
                    };
                    .right{
                        flex: 1;
                        height: 100%;
                        font-size: 0;

                        .btn{
                            width: 0.66rem;
                            height: 0.47rem;
                            margin: 0.53rem 0 0 0;
                        };
                    };
                };
                .item.no-eq{
                    background-image: url('~imgPath/list-item_1.png');
                };
                .item:nth-last-of-type(1){
                    margin: 0 auto;
                };
                .goback{
                    display: block;
                    width: 1.52rem;
                    height: 0.5rem;
                    margin: 0.16rem auto 0;
                };
            };
            .list-bottom{
                width: 100%;
                height: 0.79rem;
                padding: 0.12rem 0 0 0;
                background-image: url('~imgPath/home_list_back_04.png');
                background-repeat: no-repeat;
                background-size: 100% auto;
                @include font(0.24rem, 0.24rem, #ff8945);
                text-align: center;
            };
        };

        .floor{
            width: 100%;
            height: 0.8rem;
            background-image: url('~imgPath/back_img_03.jpg');
            background-size: 100% auto;

            .hint{
                padding: 0.14rem 0 0 0;
                @include font(0.2rem, 0.2rem, #de390f);
                text-align: center;
            };
        };

        .go-top{
            position: fixed;
            right: 0.14rem;
            bottom: 20%;
            display: none;
            width: 0.54rem;
            height: 1.11rem;
            background-image: url('~imgPath/top.png');
            background-repeat: no-repeat;
            background-size: 100% 100%;
        };
        .go-top.active{
            display: block;
        };

        .equipment-btn{
            position: fixed;
            right: 0;
            top: 3rem;
            width: 0.99rem;
            height: 1.23rem;
            background-image: url('~imgPath/treasure.png');
            background-size: 100% 100%;
            .dot{
                position: absolute;
                right: 0.06rem;
                top: 0;
                z-index: 2;
                display: block;
                width: 0.22rem;
                height: 0.22rem;
            };
        };

        .equipments-wrap{
            position: fixed;
            top: 0;
            left: 0;
            z-index: 2;
            display: none;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);

            .equipment-layer{
                position: absolute;
                top: 50%;
                left: 0.37rem;
                transform: translate(0%, -50%);
                display: none;
                width: 7.08rem;
                // height: 9.96rem;
                background-size: 100% 100%;
                

                .equipment-mian{
                    width: 7.08rem;
                    background-image: url('~imgPath/equipment-back-main_01.png');
                    background-size: 100% 100%;    
                    background-repeat: no-repeat;

                    .equipment-title{
                        box-sizing: border-box;
                        width: 7.08rem;
                        height: 3.22rem;
                        padding: 1.67rem 0 0 2.08rem;
                        background-image: url('~imgPath/equipment-back-main-top.png');
                        background-size: 100% 100%; 

                        .equipment-state{
                            display: block;
                            width: 2.57rem;
                            height: 0.94rem;
                            padding: 0.6rem 0 0 0;
                            background-size: 100% 100%;

                            .text{
                                @include font(0.28rem, 0.32rem, #ffffff);
                                text-align: center;

                                .text-color{
                                    color: #ffd118;
                                };
                            };
                        };
                    };
                    .box-used-hint{
                        width: 100%;
                        height: 0.26rem;
                        margin: 0.14rem 0 0 0;
                        @include font(0.24rem, 0.26rem, #ff4228);
                        text-indent: 1.74rem;
                    };  

                    .acquire,
                    .valid{
                        box-sizing: border-box;
                        width: 5.58rem;
                        height: 2.81rem;
                        margin: 0.16rem 0 0 0.52rem;
                        padding: 0.29rem 0 0 0rem;

                        .default{
                            display: none;
                            box-sizing: border-box;
                            width: 5.58rem;
                            height: 2.22rem;
                            margin: 0.3rem 0 0 0;
                            padding: 1.08rem 0 0 0;
                            background-image: url('~imgPath/equipment-icon.png');
                            background-size: 0.98rem 0.71rem;
                            background-repeat: no-repeat;
                            background-position: center 0.37rem;
                            background-color: #ffc065;
                            border-radius: 0.4rem;
                            text-align: center;

                            .hint-title{
                                @include font(0.3rem, 0.5rem, #d99516);
                            };
                            .hint-text{
                                @include font(0.22rem, 0.26rem, #d99516);
                            };
                        };
                        .default.active{
                            display: block;
                        };
                    };

                    .valid{
                        display: flex;
                        flex-direction: row;
                        //justify-content: center;
                        justify-content: flex-start;
                        padding: 0.29rem 0.72rem 0 0.72rem;
                        background-image: url('~imgPath/equipment-back-intro_01.png');
                        background-size: 100% 100%;

                        .item{
                            width: 1.1rem;
                            padding: 0.44rem 0 0 0;
                            margin: 0 0.15rem;

                            .intro{
                                width: 1.1rem;
                                height: 0.98rem;
                                padding: 0.35rem 0 0 0;
                                margin: 0 0 0.11rem 0;
                                background-image: url('~imgPath/combat-back.png');
                                background-size: 100% 100%;
                                text-align: center;

                                .title{
                                    margin: 0 0 0.16rem 0;
                                    @include font(0.3rem, 0.3rem, #fff5d8);
                                };
                                .text{
                                    @include font(0.2rem, 0.2rem, #fff5d8);
                                };
                            };

                            .btn{
                                display: block;
                                width: 0.98rem;
                                height: 0.44rem;
                                margin: 0 auto;
                            };
                        };
                        .item.hide{
                            display: none;
                        };
                    };
                    .acquire{
                        position: relative;
                        background-image: url('~imgPath/equipment-back-intro_02.png');
                        background-size: 100% 100%;

                        .acquire-list-wrap{
                            position: absolute;
                            left: 50%;
                            // top: 0;
                            z-index: 2;
                            transform: translateX(-50%);

                            box-sizing: border-box;
                            top: 0.53rem;
                            height: 2.28rem;
                            // width: 100%;
                            // padding: 0 0.9rem;
                            // border-radius: 0.4rem;

                            width: 4.16rem;
                            // height: 100%;
                            overflow: hidden;

                            .list{
                                display: flex;
                                flex-direction: row;
                                // justify-content: center;
                                // width: 100%;
                                height: 100%;

                                .item{
                                    width: 1.1rem;
                                    // padding: 0.73rem 0 0 0;
                                    padding: 0.19rem 0 0 0;
                                    margin: 0 0.15rem;
                                    text-align: center;

                                    .intro{
                                        position: relative;
                                        width: 1.1rem;
                                        height: 0.98rem;
                                        padding: 0.35rem 0 0 0;
                                        background-image: url('~imgPath/combat-back.png');
                                        background-size: 100% 100%;

                                        .title{
                                            margin: 0 0 0.16rem 0;
                                            @include font(0.3rem, 0.3rem, #fff5d8);
                                        };
                                        .text{
                                            @include font(0.2rem, 0.2rem, #fff5d8);
                                        };
                                        .shadow{
                                            position: absolute;
                                            top: 0;
                                            left: 0;
                                            z-index: 2;
                                            width: 100%;
                                            height: 100%;
                                            background-color: rgba(0,0,0,0.5);
                                            border-radius: 0.1rem;
                                        };
                                    };
                                    .hint-title{
                                        width: 1.1rem;
                                        height: 0.4rem;
                                        @include font(0.24rem, 0.4rem, #ff4935);
                                    };
                                    .hint-text{
                                        width: 1.1rem;
                                        height: 0.18rem;
                                        letter-spacing: -0.01rem;
                                        @include font(0.18rem, 0.18rem, #ff5f44);
                                    };
                                };
                            };
                        };
                        .left-btn{
                            position: absolute;
                            left: 0;
                            top: 0.9rem;
                            width: 0.8rem;                                
                            height: 1rem;
                        };
                        .right-btn{
                            position: absolute;
                            right: 0;
                            top: 0.9rem;
                            width: 0.8rem;
                            height: 1rem;
                        };
                    };
                };
                .equipment-mian.top{
                    padding: 0.5rem 0 0 0;
                    background-size: 100% auto;
                };
                .equipment-bottom{
                    width: 7.08rem;
                    height: 0.56rem;
                    background-image: url('~imgPath/equipment-back-main_02.png');
                    background-size: 100% 100%;    
                };
                .close{
                    position: absolute;
                    right: 0;
                    top: 0;
                    z-index: 2;
                    width: 1.24rem;
                    height: 1rem;
                };
            };
            .equipment-layer.active{
                display: block;
            };
            .equipment-use{
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                display: none;
                width: 6.71rem;

                .use-head{
                    width: 100%;
                    height: 2.21rem;
                    background-image: url('~imgPath/equipment-back2_01.png');
                    background-size: 100% 100%;

                    .close{
                        position: absolute;
                        right: 0;
                        top: 0;
                        z-index: 2;
                        width: 1.24rem;
                        height: 1rem;
                    };
                };
                .use-list-wrap{
                    width: 100%;
                    background-image: url('~imgPath/equipment-back2_02.png');
                    background-size: 100% auto;
                    background-repeat: repeat;
                    
                    .use-list{
                        display: flex;
                        flex-direction: row;
                        flex-wrap: wrap;
                        width: 5.38rem;
                        margin: -0.01rem 0 -0.01rem 0.66rem;          

                        .item{
                            width: 1.45rem;
                            height: 1.26rem;
                            padding: 0.52rem 0 0 0;
                            margin: 0 0.16rem 0.1rem;
                            background-image: url('~imgPath/combat-back.png');
                            background-size: 100% 100%;
                            color: #fff5d8;
                            text-align: center;

                            .hint-title{
                                height: 0.38rem;
                                margin: 0 0 0.2rem 0;
                                @include font(0.38rem, 0.38rem);
                            };
                            .hint-text{
                                height: 0.28rem;
                                @include font(0.28rem, 0.28rem);
                            };
                        };  
                    };  
                    .use-list.center{
                        justify-content: center;
                    };  
                };
                .use-floor{
                    width: 100%;
                    height: 0.38rem;
                    background-image: url('~imgPath/equipment-back2_03.png');
                    background-size: 100% 100%;
                };
            };
            .equipment-use.active{
                display: block;
            };
            .equipment-get{
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                display: none;
                width: 6.55rem;
                height: 6.47rem;
                background-image: url('~imgPath/equipment-back3.png');
                background-size: 100% 100%;    

                .card{
                    width: 2rem;
                    height: 1.75rem;
                    padding: 0.7rem 0 0 0;
                    margin: 1.96rem 0 0.22rem 2.26rem;
                    background-image: url('~imgPath/combat-back.png');
                    background-size: 100% 100%;   
                    color: #fff5d8;
                    text-align: center;

                    .explain-title{
                        margin: 0 0 0.26rem 0;
                        @include font(0.5rem, 0.5rem);
                    };
                    .explain-text{
                        @include font(0.36rem, 0.36rem);
                    };          
                };
                .text{
                    width: 4.2rem;
                    height: 0.24rem;
                    margin: 0 0 0.24rem 1.1rem;
                    @include font(0.24rem, 0.24rem, #ffffff);
                    text-align: center;

                    .color{
                        color: #ff4327;
                    };
                };
                .btn-area{
                    display: flex;
                    flex-direction: row;
                    width: 4.42rem;
                    height: 1rem;
                    margin: 0 0 0 1rem;

                    .btn{
                        flex: 1;
                    };
                };
                .close{
                    position: absolute;
                    right: 0;
                    top: 0;
                    z-index: 2;
                    width: 1.24rem;
                    height: 1rem;
                };
            };
            .equipment-get.active{
                display: block;
            };
            .equipment-hint{
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                display: none;
                width: 6.55rem;
                height: 6.47rem;
                background-image: url('~imgPath/equipment-back4.png');
                background-size: 100% 100%; 

                .close{
                    position: absolute;
                    right: 0;
                    top: 0;
                    z-index: 2;
                    width: 1.24rem;
                    height: 1rem;
                };  
                .open{
                    position: absolute;
                    right: 25%;
                    top: 25%;
                    z-index: 2;
                    width: 50%;
                    height: 50%;
                };
            };
            .equipment-hint.active{
                display: block;
            };
            .final-hint{
                position: absolute;
                top: 50%;
                left: 50%;
                z-index: -1;
                opacity: 0;
                transform: translate(-50%, -50%);
                width: 7.3rem;
                height: 9.1rem;
                background-image: url('~imgPath/final-hint-back.png');
                background-size: 100% 100%;  

                .final-list-wrap{
                    position: relative;
                    width: 4.98rem;
                    height: 5.64rem;
                    margin: 1.98rem 0 0 1.11rem;
                    // overflow: hidden;

                    .list{
                        position: absolute;
                        top: 0;
                        left: 0;
                        z-index: 2;
                        display: flex;
                        flex-direction: row;
                        
                        .item{
                            position: relative;
                            width: 4.98rem;
                            height: 5.64rem;  

                            .img{
                                display: block;
                                width: 4.98rem;
                                height: 4.43rem;
                            };
                            .hint-text{
                                width: 100%;
                                height: 0.24rem;
                                margin: 0.12rem 0 0 0;
                                @include font(0.24rem, 0.24rem, #ea5d06);
                                text-align: center;

                                .color{
                                    color: #ff2400;
                                };
                            };
                            .hint-btn{
                                position: absolute;
                                left: 50%;
                                bottom: -1rem;
                                transform: translateX(-50%);
                                display: block;
                                width: 1.45rem;
                                height: 0.57rem;
                                margin: 0.12rem auto;
                            }; 
                        };  
                    };
                };
                .final-pagination{
                    width: 100%;
                    height: 0.18rem;
                    font-size: 0;
                    text-align: center;

                    .swiper-pagination-bullet{
                        display: inline-block;
                        width: 0.18rem;
                        height: 0.18rem;
                        margin: 0 0.05rem;
                        border-radius: 50%;
                        background-color: #ffffff;                  
                    };
                    .swiper-pagination-bullet-active{
                        background-color: #ffad37;
                    };
                }; 
                .close{
                    position: absolute;
                    right: 0;
                    top: 0;
                    z-index: 2;
                    width: 1.5rem;
                    height: 1rem;
                };
            };
            .final-hint.active{
                z-index: 2;
                opacity: 1;
            };  
            .final-select{
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                display: none;
                width: 6.72rem;
                height: 3rem;
                padding: 2.07rem 0 0 0;
                background-image: url('~imgPath/final-select.png');
                background-size: 100% 100%; 
                
                .select-list{
                    display: flex;
                    flex-direction: row;
                    justify-content: center;
                    align-items: center;
                    width: 5.38rem;
                    height: 1.34rem;
                    margin: 0 0 0 0.62rem;

                        .item{
                            width: 1.08rem;
                            height: 0.94rem;
                            padding: 0.4rem 0 0 0;
                            margin: 0 0.2rem;
                            background-image: url('~imgPath/combat-back.png');
                            background-size: 100% 100%;
                            color: #fff5d8;
                            text-align: center;

                            .hint-title{
                                height: 0.3rem;
                                margin: 0 0 0.14rem 0;
                                @include font(0.3rem, 0.3rem);
                            };
                            .hint-text{
                                height: 0.28rem;
                                @include font(0.2rem, 0.2rem);
                            };
                        };
                        .item.active{
                            border: 0.04rem solid red;
                            border-radius: 0.1rem;
                        };
                };
                .btn-area{
                    display: flex;
                    flex-direction: row;
                    width: 4.42rem;
                    height: 1rem;
                    margin: 0 0 0 1rem;

                    .btn{
                        flex: 1;
                    };
                };    
                .close{
                    position: absolute;
                    right: 0;
                    top: 0;
                    z-index: 2;
                    width: 1.5rem;
                    height: 1rem;
                };
            };
            .final-select.active{
                display: block;
            };
            .final-lost{
                position: absolute;
                top: 50%;
                left: 0.65rem;
                transform: translate(0, -50%);
                display: none;
                width: 6.47rem;
                height: 2.45rem;
                padding: 6.48rem 0 0 0;
                background-image: url('~imgPath/final-lost.png');
                background-size: 100% 100%;

                .hint-text{
                    width: 100%;
                    height: 0.26rem;
                    margin: 0 0 0.08rem 0;
                    @include font(0.26rem, 0.26rem, #ea5d06);
                    text-align: center;

                    .color{
                        color: #ff2400;
                    };
                };
                .close{
                    position: absolute;
                    right: 0;
                    top: 0;
                    z-index: 2;
                    width: 1.24rem;
                    height: 1rem;
                }; 
                .agree{
                    position: absolute;
                    right: 20%;
                    bottom: 0;
                    z-index: 2;
                    width: 60%;
                    height: 2rem;
                };
            };   
            .final-lost.active{
                display: block;
            };  
            .final-snatch{
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                display: none;
                width: 7.37rem;
                height: 8.93rem;
                background-image: url('~imgPath/final-snatch.png');
                background-size: 100% 100%;

                .close{
                    position: absolute;
                    right: 0;
                    top: 0;
                    z-index: 2;
                    width: 1.5rem;
                    height: 1rem;
                }; 
                .agree{
                    position: absolute;
                    right: 20%;
                    bottom: 0;
                    z-index: 2;
                    width: 60%;
                    height: 2rem;
                };
            };   
            .final-snatch.active{
                display: block;
            };  
        };
        .equipments-wrap.active{
            display: block;
        };
        .page-toast{
            position: fixed;
            top: 50%;
            left: 50%;
            z-index: 9;
            transform: translate(-50%, -50%);
            padding: 0.2rem 0.5rem;
            background-color: rgba(0,0,0,0.5);
            border-radius: 0.1rem;
            @include font(0.3rem, 0.3rem, #ffffff);
        };
    };
    .home.hide{
        height: 0;
        overflow: hidden;
    };
    .rules-btn{
        position: absolute;
        right: 0;
        top: 11.6rem;
        z-index: 2;
        width: 3rem;
        height: 2rem;
        display: none;
    };
    .rules-btn.active{
        display: block;
    };
};

@-webkit-keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  5% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  10% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);    
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  5% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  10% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);    
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.shake {
    animation:pulse 4s linear infinite;
}

